package com.lx.sync.consumer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lx.sync.consumer.entity.SyncData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SyncDataMapper extends BaseMapper<SyncData> {
    
    @Select("SELECT MAX(update_time) FROM sync_data")
    Long getMaxUpdateTime();
} 